package com.crazy.model.major.dto;

import com.crazy.model.major.entity.TUserRole;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author zhaochaofeng
 * @version 1.0
 * @date 2020/12/17 14:02
 */
@Data
public class RoleDto extends TUserRole {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
